#！/usr/bin/python
# coding:utf8

import pymysql

conn = pymysql.connect("localhost","root","123456","test")

cursor = conn.cursor()

sql = 'delete from EEQA where FIRST_NAME=%s'

FIRST_NAME = "da"

cursor.execute(sql,[FIRST_NAME])

conn.commit()

cursor.close()
conn.close()